package com.sgcc.ln.pmos.e_ln_mall.contract;

import com.sgcc.ln.pmos.common.base.IView;
import com.sgcc.ln.pmos.e_ln_mall.bean.CurveHistoryDataBackBean;

import java.util.List;
import java.util.Map;

public class ElectricityProportionContract {
    public interface View extends IView {
        void queryCurveDataSuccess(Map<String, List<String>> maps);

        void queryHisCurveDataSuccess( List<String> list);

        void queryDeviationCurveDataSuccess(Map<String, List<String>> maps);

        void queryHistoryCurveDataSuccess(List<CurveHistoryDataBackBean> dataList);

        void queryHisCurveDateSuccess(List<String> dataList);

        void queryHisCurveDatePriceSuccess(List<String> dataList);

        void querySynthesisPriceDateSuccess(List<String> dataList);

        void querySynthesisPriceDataSuccess(List<CurveHistoryDataBackBean> dataList);

        void queryFailed();
    }

    public interface Presenter {
        void getCurveData(boolean isLoading, int eSource);

        void getHisCurveData(boolean isLoading, String mktDate);


        //历史用电量曲线日期
        void getHisCurveDate();

        //历史价格日期
        void getHisCurvePriceDate();

        //综合价格日期
        void getSynthesisPriceDate();

        //查询综合价格
        void getSynthesisPriceData(boolean isLoading, String mktDate);


        void getDeviationCurveData(boolean isLoading, int eSource);

        void getHistoryCurveData(boolean isLoading, String priceMonth);


    }
}
